package com.naiterui.ehp.bs.doctor.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author gaoliangliang
 * @date 2019/11/26 9:34 下午
 * @since 1.0.0
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "诊疗记录详情")
public class ConsultSessionVO {

    public static int CONSULT_STATUS_DURING = 1;
    public static int CONSULT_STATUS_FINISH = 2;
    public static int CONSULT_STATUS_REFUND = 3;

    @ApiModelProperty("患者姓名")
    private String patientName;
    @ApiModelProperty("性别")
    private String gender;
    @ApiModelProperty("年龄")
    private String age;
    @ApiModelProperty("诊断描述")
    private String desc;
    @ApiModelProperty("患者头像")
    private String avatar;
    @ApiModelProperty("问诊时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date consultTime;
    @ApiModelProperty("包含处方")
    private Boolean containRecom;
    @ApiModelProperty("包含病历")
    private Boolean containRecord;
    @ApiModelProperty("咨询费：单位（分）")
    private Integer price;
    @ApiModelProperty("咨询状态：1：进行中，2：已完成，3：已退费")
    private Integer consultStatus;
    @ApiModelProperty("就诊人id")
    private Long inquirerId;
}
